package com.uidt.project.ptsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.uidt.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uidt.framework.aspectj.lang.annotation.Excel;

/**
 * 单位信息对象 place_info
 *
 * @author uidt
 * @date 2024-08-20
 */
@Data
public class PlaceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 场所编号 */
    private String placeCode;

    /** 场所名称 */
    @Excel(name = "场所名称")
    private String placeName;

    /** 房源类型;0 网约房 1 民宿 */
    @Excel(name = "房源类型;0 网约房 1 民宿")
    private String houseType;

    /** 管理模式 */
    @Excel(name = "管理模式")
    private String manageMode;

    /** 管辖单位代码 */
    @Excel(name = "管辖单位代码")
    private String gxdwdm;

    /** 管辖单位 */
    @Excel(name = "管辖单位")
    private String jurisdictions;

    /** 经营状况 */
    @Excel(name = "经营状况")
    private String status;

    /** 星级 */
    @Excel(name = "星级")
    private Long stars;

    /** 积分 */
    @Excel(name = "积分")
    private Long score;

    /** 蓝牌;0 无 1 蓝牌 2 黄牌 3 红牌 */
    @Excel(name = "蓝牌;0 无 1 蓝牌 2 黄牌 3 红牌")
    private Long blue;

    /** 黄牌 */
    @Excel(name = "黄牌")
    private Long yellow;

    /** 红牌 */
    @Excel(name = "红牌")
    private Long red;

    /** 页面搜索挂牌状态，无挂牌、蓝牌、红牌、黄牌*/
    private String cardsZtSearch;


    /** 挂牌状态;0 无 1 待挂牌 */
    @Excel(name = "挂牌状态;0 无 1 待挂牌")
    private String cardstatus;

    /** 所在地区 */
    @Excel(name = "所在地区")
    private String area;

    /** 街道 */
    @Excel(name = "街道")
    private String street;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String houseNumber;

    /** 小区/建筑物 */
    @Excel(name = "小区/建筑物")
    private String cell;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private String building;

    /** 单元 */
    @Excel(name = "单元")
    private String unit;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 经营人类型 */
    @Excel(name = "经营人类型")
    private String ownerType;

    /** 经营人 */
    @Excel(name = "经营人")
    private String ownerName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 单位信用代码 */
    @Excel(name = "单位信用代码")
    private String certNumber;

    /** 删除标记 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;


    public String getGxdwdm() {
        return gxdwdm;
    }

    public void setGxdwdm(String gxdwdm) {
        this.gxdwdm = gxdwdm;
    }

    // 排名顺序
    private int rank;

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public void setPlaceCode(String placeCode)
    {
        this.placeCode = placeCode;
    }

    public String getPlaceCode()
    {
        return placeCode;
    }
    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public String getPlaceName()
    {
        return placeName;
    }
    public void setHouseType(String houseType)
    {
        this.houseType = houseType;
    }

    public String getHouseType()
    {
        return houseType;
    }
    public void setManageMode(String manageMode)
    {
        this.manageMode = manageMode;
    }

    public String getManageMode()
    {
        return manageMode;
    }
    public void setJurisdictions(String jurisdictions)
    {
        this.jurisdictions = jurisdictions;
    }

    public String getJurisdictions()
    {
        return jurisdictions;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setStars(Long stars)
    {
        this.stars = stars;
    }

    public Long getStars()
    {
        return stars;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setBlue(Long blue)
    {
        this.blue = blue;
    }

    public Long getBlue()
    {
        return blue;
    }
    public void setYellow(Long yellow)
    {
        this.yellow = yellow;
    }

    public Long getYellow()
    {
        return yellow;
    }
    public void setRed(Long red)
    {
        this.red = red;
    }

    public Long getRed()
    {
        return red;
    }
    public void setCardstatus(String cardstatus)
    {
        this.cardstatus = cardstatus;
    }

    public String getCardstatus()
    {
        return cardstatus;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setStreet(String street)
    {
        this.street = street;
    }

    public String getStreet()
    {
        return street;
    }
    public void setHouseNumber(String houseNumber)
    {
        this.houseNumber = houseNumber;
    }

    public String getHouseNumber()
    {
        return houseNumber;
    }
    public void setCell(String cell)
    {
        this.cell = cell;
    }

    public String getCell()
    {
        return cell;
    }
    public void setBuilding(String building)
    {
        this.building = building;
    }

    public String getBuilding()
    {
        return building;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setOwnerType(String ownerType)
    {
        this.ownerType = ownerType;
    }

    public String getOwnerType()
    {
        return ownerType;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCertNumber(String certNumber)
    {
        this.certNumber = certNumber;
    }

    public String getCertNumber()
    {
        return certNumber;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("placeCode", getPlaceCode())
                .append("placeName", getPlaceName())
                .append("houseType", getHouseType())
                .append("manageMode", getManageMode())
                .append("jurisdictions", getJurisdictions())
                .append("status", getStatus())
                .append("stars", getStars())
                .append("score", getScore())
                .append("blue", getBlue())
                .append("yellow", getYellow())
                .append("red", getRed())
                .append("cardstatus", getCardstatus())
                .append("area", getArea())
                .append("street", getStreet())
                .append("houseNumber", getHouseNumber())
                .append("cell", getCell())
                .append("building", getBuilding())
                .append("unit", getUnit())
                .append("address", getAddress())
                .append("ownerType", getOwnerType())
                .append("ownerName", getOwnerName())
                .append("phone", getPhone())
                .append("certNumber", getCertNumber())
                .append("delFlag", getDelFlag())
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
